package com.secsbrain.deploy.biz;

import com.secsbrain.cmdb.client.model.AppDetail;
import com.secsbrain.deploy.client.model.DeployParam;
import com.secsbrain.deploy.dal.model.BuildModel;
import com.baomidou.framework.service.ISuperService;

import java.util.List;

/**
 *
 * BuildModel 表数据服务层接口
 *
 */
public interface IBuildModelService extends ISuperService<BuildModel> {


	void createBuildModel(String templateName, DeployParam deployParam, AppDetail appDetail);
	
	void updateBuildModel(DeployParam deployParam, AppDetail appDetail);

	void deleteBuildModel(Long buildModelId,String envName,AppDetail appDetail);

	List<String> fetchBranch(String jobName,boolean k8sFlag);

}